<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xn="http://www.renren.com/2009/xnml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="{{ staticUrl }}/img/favicon.ico" rel="itgeeker favorite icon" type="image/x-icon" />
    <link href="{{ staticUrl }}/css/layout.css?ver={{ cssVersion }}" rel="stylesheet" type="text/css" media="all" />
    <title>ITGeeker——专业的IT技术交流站点！</title>
</head>
<body>
    {% include "../inc/admin_navbar.inc" %}
    <br />
    <a href="/admin/editebookinfo">增加一本新电子书</a> 
    <br />
    <br />
    <table>
        <tbody>
            <tr>
                <th>电子书</th>
                <th>作者</th>
                <th>操作</th>
            </tr>
            {% for ebook in ebookList %}
                <tr>
                    <td><a href="/admin/ebookinfo?ebid={{ ebook.ebid }}">{{ ebook.title }}</a></td>
                    <td>{{ ebook.author }}</td>
                    <td><a href="/admin/editebookinfo?ebid={{ ebook.ebid }}">编辑该书信息</a></td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
</body>
</html>
